<?php if(sfConfig::get('app_form_transform_profile')==true) use_helper('FormTransform')?>
<?php use_helper('Javascript');?>
<?php use_helper('I18N', 'Date') ?>


<div id="sf_admin_container">

<?php if ($sf_user->hasFlash('notice')): ?>
  <div class="notice"><?php echo __($sf_user->getFlash('notice'), array(), 'sf_admin') ?></div>
<?php endif; ?>

<?php if ($sf_user->hasFlash('error')): ?>
  <div class="error"><?php echo __($sf_user->getFlash('error'), array(), 'sf_admin') ?></div>
<?php endif; ?>


<h1><?php echo __('Редактирование профайла')?> </h1>
<div id="sf_admin_content">
<div class="sf_admin_form">

<form <?php if(sfConfig::get('app_form_transform_profile')==true) echo 'class="jqtransform"' ?> action="<?php echo url_for('@edit_profile?id='.$form->getObject()->getId()) ?>" method="post" enctype="multipart/form-data">
<fieldset>
<h2>Информация</h2>
 <?php include_partial('global/common/user_panel',array('sf_guard_user'=>$form->getObject()))?>
<?php echo $form ?>           
</fieldset>
       <input type="submit" class="png input_but" value="<?php echo __('Сохранить') ?>" />

  
</form>

</div>
</div>


</div>